{% extends "base.html" %}
{% load comments.comments %}

{% block content %}
{% for post in post_list%}
{% get_free_comment_count for journal.post post.id as comment_count %}

<ul>
    <li><a href="{{ post.get_absolute_url }}" title="">{{ post.title }}</a> ({{ comment_count }} commentaires)</li>
</ul>
{% endfor %}

{% for thought in thought_list%}
<ul>
    <li><a href="{{ thought.get_absolute_url }}" title="">{{ thought.title }}</a></li>
</ul>
{% endfor %}

{% endblock %}